<%@ Page Language="C#" MasterPageFile="~/Default.master" Title="Projects"
    CodeFile="Projects.aspx.cs" Inherits="Projects" %>

<asp:content id="Content1" contentplaceholderid="Main" runat="server">

    <div class="shim gradient"></div>

    <div class="page" id="albums">

        <h3>Welcome to My Projects Page</h3>
        <p>
            <asp:Label ID="labProjectsBlurb" runat="server"></asp:Label></p>
        <hr />
        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1">
            <HeaderTemplate>
            <table border="0" cellpadding="2" cellspacing="0" width="600px">
            </HeaderTemplate>
            <ItemTemplate>
                
                    <tr>
                        <td align="center" rowspan="5" valign="top" style="width: 35px">
                        
                           
                            <a href="ProjectDisplay.aspx?id=<%# Eval("PRO_ID") %>"> 
                            
                                <img src="Handler.ashx?<%# ((((Eval("PRO_THUMB_PHOTOID"))==DBNull.Value)||(((Convert.ToInt32(Eval("PRO_THUMB_PHOTOID")))==-1)))?"AlbumID="+Eval("PRO_ALBUMID"):"PhotoID="+Eval("PRO_THUMB_PHOTOID")) %>&Size=S" class="photo_198" style="border:4px solid white" alt='Photo from Album Number <%# Eval("PRO_THUMB_PHOTOID") %>' />
                            
                            </a>

                       
                        </td>
                        <td align="right" valign="top" style="width: 20px">
                            <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label></td>
                        <td valign="top" width="100%">
                            <a href="ProjectDisplay.aspx?id=<%# Eval("PRO_ID") %>"><%# Eval("PRO_TITLE") %></a></td>
                    </tr>
                    <tr>
                        <td align="right" valign="top" style="width: 20px">
                            <asp:Label ID="Label2" runat="server" Text="Category"></asp:Label>
                        </td>
                        <td valign="top" width="100%">
                            <asp:Label ID="labCat" runat="server" Text='<%# Eval("PCA_TITLE") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 16px; width: 20px;" valign="top">
                            <asp:Label ID="Label3" runat="server" Text="Status"></asp:Label></td>
                        <td style="height: 16px" valign="top" width="100%">
                            <asp:Label ID="labStatus" runat="server" Text='<%# Eval("PST_TITLE") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" valign="top" style="width: 20px">
                            <asp:Label ID="Label4" runat="server" Text="Description"></asp:Label></td>
                        <td valign="top" width="100%">
                            </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2" style="width: 20px; height: 13px" valign="top">
                            <asp:Label ID="labDesc" runat="server" Text='<%# Eval("PRO_SHORT_DESC") %>'></asp:Label></td>
                    </tr>
                
            </ItemTemplate>
            <SeparatorTemplate>
           <tr><td colspan="3">
           <hr />
           </td>
           
           </tr>
            
            </SeparatorTemplate>
            <FooterTemplate>
            </table>
            </FooterTemplate>
        </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetProjects"
            TypeName="ProjectManager"></asp:ObjectDataSource>
    
    </div>
    

</asp:content>